package com.weseal.dry.common;

import common.exception.BaseException;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * @title
 * @description 异常通知处理结果
 * @usage
 * @copyright Copyright 2014  rrmj Corporation. All rights reserved.
 * @author weseal
 * @create 2018/3/29
 */
@ControllerAdvice
public class ExceptionController {

	@ExceptionHandler(BaseException.class)
	public String handlerException(){
		return "error/404";
	}

}
